<?php

namespace app\controller\test;


use app\common\lib\Common;
use app\controller\CoreController;
use app\exception\IndexException;
use app\logic\index\user\UserLogic;
use support\Request;

class UserController extends CoreController
{

    public function login(Request $request)
    {
        $uuid = $request->post('uuid', '87203445621712046154721');
        $data = UserLogic::getInstance()->testLogin($uuid);
        return $this->endSuccess($data);
    }

    public function sign(Request $request)
    {
        $data = UserLogic::getInstance()->testSign([]);
        return $this->endSuccess($data);
    }

}